#define _CRT_SECURE_NO_WARNINGS 1

#include <iostream>
#include <string>
using namespace std;

int main()
{
    string s, ret;
    getline(cin, s);
    s = " " + s;
    size_t pos = 0;
    while (pos < s.size())
    {
        if (s[pos + 1] < 'a') ret += s[pos + 1];
        else ret += (s[pos + 1] - 32);
        pos = s.find(' ', pos + 1);
    }
    cout << ret << endl;

    return 0;
}
